package com.yzp.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @title: OrderConfig
 * @Author: yzp
 * @Date: 2019/9/30 22:25
 * @Version 1.0
 */
@RefreshScope
@Component
@Data
public class OrderConfig {

    @Value("${name}")
    public  String NAME;
}
